package org.niugang.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author Created by niugang on 2019/1/18/10:08
 */
@Controller
public class AuthenticationController {

    @RequestMapping(value = "/authentication/failed", method = RequestMethod.GET)
    public String failed() {
        System.out.println("/authentication/failed");
        return "failed";
    }

    @RequestMapping(value = "/authentication/login", method = RequestMethod.GET)
    public String login() {
        return "login";
    }
}
